package com.dy.programhelper.rabbitmq_sender.channel;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.stereotype.Component;

@Component
public interface OrderOutputChannelProcessor {
        /**
         * 保存订单输出通道（需要与配置文件中的保持一致）
         */
        String SAVE_ORDER_OUTPUT ="saveOutput";
        /**
         * 保存订单输出
         ** @return
         */
    @Output(SAVE_ORDER_OUTPUT)
    MessageChannel saveOrderOutput();
}

